package com.example.demo.pojo.testExtends;

/**
 * @Author: cafe zhai
 * @Date: 2023/05/25/17:06
 * @Description:
 */
public class BlackFish extends WaterFish{
    public BlackFish() {
        this.name = "defaultName";
        this.age = "22";
    }

    private String skill;

    public String getSkill() {
        return skill;
    }

    public void setSkill(String skill) {
        this.skill = skill;
    }


    @Override
    public String toString() {
        return "BlackFish{" +
                "skill='" + skill + '\'' +
                ", live='" + live + '\'' +
                ", name='" + name + '\'' +
                ", age='" + age + '\'' +
                '}';
    }
}
